package com.lzp.wechat.entity.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "音乐消息实体类")
public class Music {

    @XStreamAlias("Title")
    @ApiModelProperty(value = "音乐标题")
    private String title;

    @XStreamAlias("Description")
    @ApiModelProperty(value = "音乐描述")
    private String description;

    @XStreamAlias("MusicUrl")
    @ApiModelProperty(value = "音乐链接")
    private String musicUrl;

    @XStreamAlias("HQMusicUrl")
    @ApiModelProperty(value = "高质量音乐链接", notes = "WIFI环境优先使用该链接播放音乐")
    private String hQMusicUrl;

    @XStreamAlias("ThumbMediaId")
    @ApiModelProperty(value = "缩略图的媒体id", notes = "通过素材管理中的接口上传多媒体文件，得到的id")
    private String thumbMediaId;

}
